package com.zyx.pojo.DTO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zlx
 * @since 2021-09-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("p_people")
@ApiModel(value="People对象", description="")
public class PeopleDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "工号")
    private Integer people_id;

    @ApiModelProperty(value = "员工姓名")
    private String people_name;

    @ApiModelProperty(value = "员工性别")
    private String people_sex;

    @ApiModelProperty(value = "部门名称")
    private String department_name;

    @ApiModelProperty(value = "职务")
    private String people_position;

    @ApiModelProperty(value = "电话")
    private String people_phone;

    @ApiModelProperty(value = "身份证")
    private String people_idCard;

    @ApiModelProperty(value = "员工状态是否在职")
    private String people_state;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime update_time;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime create_time;


}
